'宣言 Public Overloads Function ToIndexed4bppBitmap( _ ByVal palette() As System.UInteger, _ ByVal ditheringMethod As DitheringMethod, _ Optional ByVal appendTransparentColor As System.Boolean, _ Optional ByVal lowerBitsFirst As System.Boolean _ ) As Indexed4bppBitmap
public Indexed4bppBitmap ToIndexed4bppBitmap( System.uint[] palette, DitheringMethod ditheringMethod, System.bool appendTransparentColor, System.bool lowerBitsFirst )
パラメータ
- palette
- The palette with opaque colors for the new image (colors are in 32-bit ARGB format). Elements with index 16 and above are ignored.
- ditheringMethod
- The method of two-dimensional error diffusion dithering.
- appendTransparentColor
- Indicates if a transparent color should be added to the palette, if the image is not opaque and the number of opaque colors is less than 16.
- lowerBitsFirst
- If true, pixels are arranged within a byte such that pixels with lower column indices are stored in the lower-order bit tetrads of the byte.
戻り値の型
A new instance of Indexed4bppBitmap.